package org.example.gradlemultipledatasourcedemo.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

@Data
@Component
@ConfigurationProperties(prefix = "spring.datasource")
public class MultiDataSourceProperties {
    private List<DataSourceConfigProperties> configs;
}